package db;

import java.util.Date;

/**
 * AbstractRead entity provides the base persistence definition of the Read
 * entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractRead implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer msgId;
	private Integer userId;
	private Integer teamId;
	private Integer isRead;
	private Date date;
	private Msg msg;

	// Constructors

	/** default constructor */
	public AbstractRead() {
	}

	/** full constructor */
	public AbstractRead(Integer msgId, Integer userId, Integer teamId,
			Integer isRead, Date date) {
		this.msgId = msgId;
		this.userId = userId;
		this.teamId = teamId;
		this.isRead = isRead;
		this.date = date;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getMsgId() {
		return this.msgId;
	}

	public void setMsgId(Integer msgId) {
		this.msgId = msgId;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getTeamId() {
		return this.teamId;
	}

	public void setTeamId(Integer teamId) {
		this.teamId = teamId;
	}

	public Integer getIsRead() {
		return this.isRead;
	}

	public void setIsRead(Integer isRead) {
		this.isRead = isRead;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Msg getMsg() {
		return msg;
	}

	public void setMsg(Msg msg) {
		this.msg = msg;
	}

}